package com.jt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.DemoUser;

import java.util.List;

public interface DemoUserMapper extends BaseMapper<DemoUser> {
    List<DemoUser> findAll();
    void insertUser(DemoUser user);
    void updateUser(String oldName, String newName, String sex);
    int deleteUser(Integer id);


}
